.container {
    display: flex;
    // justify-content:center;
    justify-content: space-between;
    margin: 20px 0;
}
button {
    font-family: inherit;
    font-size: 20px;
    background: #409eff;
    color: white;
    padding: 0.6em 0.8em;
    padding-left: 0.9em;
    display: flex;
    align-items: center;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
}
.slide-left {
    animation: slide-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.1s both;
}
.isshow-left {
    animation: slide-out-left 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) 0.1s both;
    pointer-events: none;
}
.isshow-right {
    animation: slide-out-right 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) 0.1s both;
    pointer-events: none;
}
.slide-right {
    animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.1s both;
}

button span {
    display: block;
    margin-left: 0.3em;
    transition: all 0.3s ease-in-out;
}
button:nth-child(1) span{
    margin-left: 0;
    margin-right: 0.3em;
}

button svg {
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
}
button:nth-child(1) svg {
    transform: rotate(-90deg);
}

button:hover .svg-wrapper {
    animation: fly-1 0.6s ease-in-out infinite alternate;
}

button:hover svg {
    transform: translateX(1.2em) rotate(45deg) scale(1.1);
}
button:nth-child(1):hover svg{
    transform: translateX(-1.2em) rotate(-135deg) scale(1.1);
}

button:hover span {
    transform: translateX(5em);
}
button:nth-child(1):hover span{
    transform: translateX(-5em);
}

button:active {
    transform: scale(0.95) !important;
}

@keyframes fly-1 {
    from {
        transform: translateY(0.1em);
    }

    to {
        transform: translateY(-0.1em);
    }
}